<?php 
/**
 * Flogr config settings 
 *
 * @author Mike Carruth <mikecarruth@gmail.com>
 * @version 1.8
 * @package Flogr
 * @link http://flogr.googlecode.com
 */

/**
 * Your Flickr user id 
 *
 * Note: A user id (not username) is needed.  You can lookup your user id 
 * at http://idgettr.com/)
 */
REQUIRED_SETTING('FLICKR_USER_ID',  ''); 
//OPTIONAL_SETTING('FLICKR_GROUP_ID', '16978849@N00');

/**
 * Site settings
 */
REQUIRED_SETTING('SITE_TITLE',         'Flogr');
REQUIRED_SETTING('SITE_DESCRIPTION',   'A photoblog application built on Flickr');
REQUIRED_SETTING('SITE_THEME',         'blackstripe');
REQUIRED_SETTING('SITE_THEME_PATH',    'themes/' . SITE_THEME . '/');
$url = "http://". $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
REQUIRED_SETTING('SITE_URL',           substr($url, 0, strrpos($url, "/")));

/**
 * Flogr settings
 */

/* EXIF tags to include */
REQUIRED_SETTING('FLOGR_EXIF', 'Make,Model,Software,Exposure,Aperture,Shutter Speed,ISO Speed,Flash');

/* Can be Square, Thumbnail, Small, Medium, Original, or the size in pixels */
REQUIRED_SETTING('FLOGR_PHOTO_QUALITY', 'Original');

/* Maximum allowable height and width.  If 0 image will not be scaled (faster).*/
REQUIRED_SETTING('FLOGR_MAX_PHOTO_SIZE', 750);

/* Photosets to include - separate multiple sets with commas. */
OPTIONAL_SETTING('FLOGR_PHOTOSETS_INCLUDE', '');

/* Number of tags to include in the tag cloud */
REQUIRED_SETTING('FLOGR_TAGS_COUNT', 100);

/* Tags to include - separate multiple tags with commas */
OPTIONAL_SETTING('FLOGR_TAGS_INCLUDE', '');

/* PHP date format - http://us2.php.net/date */
REQUIRED_SETTING('FLOGR_DATE_FORMAT', 'F j, Y');

/* Set to true to use date taken - false to use date uploaded */
REQUIRED_SETTING('FLOGR_SHOW_DATE_TAKEN', true);

/* Number of thumbnails to show on the 'recent' page */
REQUIRED_SETTING('FLOGR_THUMBNAILS_PER_PAGE', 48);

/**
 * The order in which to sort returned photos. Deafults to date-posted-desc 
 * (unless you are doing a radial geo query, in which case the default sorting 
 * is by ascending distance from the point specified). The possible values are: 
 * date-posted-asc, date-posted-desc, date-taken-asc, date-taken-desc, 
 * interestingness-desc, interestingness-asc, and relevance.
 */
OPTIONAL_SETTING('FLOGR_SORT', '');

/* Log level */

/** 
 * Constants
 */
define('FLOGR_LOG_NONE',      0);
define('FLOGR_LOG_ERR',       1);
define('FLOGR_LOG_WARNING',   2);
define('FLOGR_LOG_DEBUG',     3);
REQUIRED_SETTING('FLOGR_LOG_LEVEL', FLOGR_LOG_ERR);

/**
 * Cache Settings
 *
 * To improve performance flogr can be configured to cache photos to a MySql database
 * or to the web server.
 */
OPTIONAL_SETTING('CACHE_SQL_USER', '');
OPTIONAL_SETTING('CACHE_SQL_PASSWORD', '');
OPTIONAL_SETTING('CACHE_SQL_SERVER', '');
OPTIONAL_SETTING('CACHE_SQL_DATABASE', '');
OPTIONAL_SETTING('CACHE_PATH', '');
?>
